package com.schoolET.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.schoolET.entity.Chat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户之间的聊天内容 Mapper 接口
 * </p>
 *
 * @author le
 * @since 2024-06-04
 */
@Mapper
public interface ChatMapper extends BaseMapper<Chat> {
    Page<Chat> selectChatPage(Page<Chat> page, @Param(Constants.WRAPPER)QueryWrapper<Chat> queryWrapper);
}
